package com.feini.ktv.svc.entity.pm;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author podara
 * @since 2021-04-21
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
public class PmResStock implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 物资编码
     */
    @TableId(value = "stock_id", type = IdType.AUTO)
    private Long stockId;

    /**
     * 资源类型名字
     */
    private Long goodsId;

    /**
     * 商品类型
     */
    private String resSpecName;

    /**
     * 数量
     */
    private Integer operNum;

    /**
     * 起始物品编号
     */
    private Long operNoS;

    /**
     * 终止物品编号
     */
    private Long operNoE;

    /**
     * 创建时间
     */
    private LocalDateTime createDate;

    /**
     * 修改时间
     */
    private LocalDateTime updateDate;

    /**
     * 状态 0待销售,1预占,2实占
     */
    private String status;

    /**
     * 备注
     */
    private String remark;


}
